package cc.marcio.systems.seven.test;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class SimpleAuthenticator extends Authenticator {
	
	private PasswordAuthentication passwordAuthentication;
	
	public SimpleAuthenticator(String user, String password) {
		this.passwordAuthentication = new PasswordAuthentication(user, password);
	}
	
	public PasswordAuthentication getPasswordAuthentication() {
		return this.passwordAuthentication;
	}
}
